package org.giovanolli.mumi.util;

import org.apache.commons.lang.StringUtils;

public class WeekDayName {
	private String dayName;
	private String shortName;
	private int order;

	public WeekDayName(String dayName, int order) {
		if (!StringUtils.isEmpty(dayName)) {
			this.dayName = dayName;
			this.shortName = dayName.substring(0, 2).toUpperCase();
			this.order = order;
		}
	}

	public String getDayName() {
		return dayName;
	}

	public int getOrder() {
		return order;
	}

	public String getShortName() {
		return shortName;
	}

	public void setDayName(String dayName) {
		this.dayName = dayName;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

}